/**
 * Created by GX on 2017/6/13.
 */

import request from 'superagent'
import jsonp from 'superagent-jsonp'

const state = {
  events: []
}
const mutations = {
  getSingEvent (state, payload) {
    state.events = getSingEventFn()
  }
}
const actions = {}

function getSingEvent() {
  request
    .get('/search')
    .query({ query: 'Manny', range: '1..5', order: 'desc' })
    .end(function(res){

    });
}

export default {
  state,
  mutations,
  actions
}
